﻿function swtab(taber){
    for(var i=1; i<3; i++){
        document.getElementById("tab-"+i+"-layer").style.display="none";
        document.getElementById("tab-"+i).innerHTML=document.getElementById("tab-"+i).innerHTML.replace("√ ","");
    }
    document.getElementById(taber.id+"-layer").style.display="block";
    document.getElementById(taber.id).innerHTML="√ "+document.getElementById(taber.id).innerHTML;
}